import request from "../utils/request";

//获取金额列表
export function getRechargeList(params) {
  return request({
    method: "get",
    url: "/api/PCApplet/ListRecharge",
    params
  });
}

//新增金额
export function addNewRecharge(data) {
  return request({
    method: "post",
    url: "/api/PCApplet/AddRecharge",
    data
  });
}

//修改金额
export function updateRecharge(data) {
  return request({
    method: "post",
    url: "/api/PCApplet/UpdateRecharge",
    data
  });
}

//删除金额
export function delectRecharge(params) {
  return request({
    method: "get",
    url: "/api/PCApplet/DeleteRecharge",
    params
  });
}


//充值列表
export function rechargeList(params) {
  return request({
    method: "get",
    url: "/api/PCApplet/FindBalanceRecords_Admin",
    params
  });
}
